package com.project.webservice.service;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.project.webservice.dto.*;
import com.project.webservice.entity.TbRfidSysConditionRidName;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface RfidRunService {
    /**
     * 基站营运质量报告(一个基站多天)GET_QUALITY_RID_DAYs
     * @param searchGetQualityRidDayDto
     * @return
     */
    public WebServiceR getQualityRidDays(SearchGetQualityRidDayDto searchGetQualityRidDayDto);

    /**
     * 基站营运质量报告(多个基站一天)GET_QUALITY_RIDs_DAY
     * @param searchGetQualityRidDayDto
     * @return
     */
    public WebServiceR getQualityRidsDay(SearchGetQualityRidDayDto searchGetQualityRidDayDto);

    /**
     * 基站营运质量报告(多个基站一天,按照RID_NAME查询)GET_QUALITY_RIDs_DAY_by_RID_NAME
     * @param searchGetQualityRidDayDto
     * @return
     */
    public WebServiceR getQualityRidsDayByRidName(SearchGetQualityRidDayDto searchGetQualityRidDayDto);

    /**
     * 基站营运质量报告(多个基站一天,按照RID_SERIAL查询)GET_QUALITY_RIDs_DAY_by_RID_SERIAL
     * @param searchGetQualityRidDayDto
     * @return
     */
    public WebServiceR getQualityRidsDayByRidSerial(SearchGetQualityRidDayDto searchGetQualityRidDayDto);

    /**
     * //电子标签营运质量报告(多张电子标签一天，按照TID_UID查询) GET_QUALITY_TIDs_DAY_by_TID_UID
     * @param searchGetQualityTidDayDto
     * @return
     */
    public WebServiceR getQualityTidsDayByTidUid(SearchGetQualityTidDayDto searchGetQualityTidDayDto);

    /**
     * 电子标签营运质量报告(多张电子标签一天，按照TID_xuhao查询) GET_QUALITY_TIDs_DAY_by_TID_xuhao
     * @param searchGetQualityTidDayDto
     * @return
     */
    public WebServiceR getQualityTidsDayByTidXuhao(SearchGetQualityTidDayDto searchGetQualityTidDayDto);

    /**
     * 基站运转情况  getRIDLiv
     * @param username
     * @param ridStatusId
     * @param ridVenderRegnum
     * @param pageNo
     * @param pageLines
     * @return
     */
    public WebServiceR getRidLiv(String username, int ridStatusId,String ridVenderRegnum,int pageNo,int pageLines);

    /**
     * 基站运转情况(加入查询关键字:RID_NAME) getRidLivByRidName
     * @param uid
     * @param key
     * @param ridStatusId
     * @param ridVendorId
     * @param page
     * @param pageCount
     * @param ridName
     * @return
     */
    public WebServiceR getRidLivByRidName(String uid, String key, String ridStatusId, String ridVendorId, String page, String pageCount, String ridName);

    /**
     * 基站运转情况(加入查询关键字:RID_SERIAL)
     * @param uid
     * @param key
     * @param ridStatusId
     * @param ridVendorId
     * @param page
     * @param pageCount
     * @param ridSerial
     * @return
     */
    public WebServiceR getRidLivByRidSerial(String uid, String key, String ridStatusId, String ridVendorId, String page, String pageCount, String ridSerial);

    /**
     * get_Center_link
     * @return
     */
    public List<GetCenterLinkDto> getCenterLink();

    /**
     * get_Center_link_detail
     * @return
     */
    public List<GetCenterLinkDetailDto> getCenterLinkDetail();
    /**
     * 企业线路监测质量汇总报告
     * @param date
     * @return
     */
    public List<ProGetTbCzxlRfidDayDto> proGetTbCzxlRfidDay(String date);
    /**
     * 电子标签进出站数据跟踪get_TID_IN_OUT_DAY
     * @param date
     * @param icon
     * @return
     */
    @DS("rfidrun")
    public List<ProGetTidInOutDayDto> proGetTidInOutDay(String date,String icon);
}
